package com.xiangxiao.rpan.storage.entity;

import com.xiangxiao.rpan.storage.enums.StorageTypeEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * 存储源拓展属性，用于在数据库中存入 存储源属性的列表
 * 单条数据结构 {id: 1, name: XXX, type: xxx, title: XXXX, storageId: 1, value: XXX}
 * @Projectname: StorageSourceConfig
 * @Author: xiangxiao
 * @Email: 573768011@qq.com
 * @Data:2023/10/21 0:57
 */
@Data
public class StorageSourceConfig implements Serializable {
  private static final long serialVersionUID = 1L;

  private Integer id;

  private String name;

  private StorageTypeEnum type;

  private String title;

  /*
  * 存储源 id
  * 一个存储源可以有多条参数
  * */
  private Integer storageId;


  private String value;
}
